﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace Hangout.Services.Core.Social
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the class name "FacebookService" in code, svc and config file together.
    // NOTE: In order to launch WCF Test Client for testing this service, please select FacebookService.svc or FacebookService.svc.cs at the Solution Explorer and start debugging.
    public class FacebookService : IFacebookService
    {

        Web.Model.HangoutDBEntities context = new Web.Model.HangoutDBEntities();


        public void PostFacebookStatus(string accessToken, string Status, Dictionary<string, object> parameters, string version)
        {
            Web.Core.Social.Facebook.ShareOnFacebook(accessToken, Status, parameters, ref context);
        }
    }
}
